{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>stu_pwdAlter</title>
    <link rel="stylesheet" href="{% static 'css/infoAlter.css' %}">
</head>
<body>
<body background="{% static 'img/wallpaper.jpg' %}" style="background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">
    <form action="" enctype='multipart/form-data' method="post">
        {% csrf_token %}
    <div>
        <h1>修改密码——学生：{{ stucc.stu_id }}</h1>
        <p>密码：<input type="password" name="pwd" placeholder="密码" required></p>
        <p>确认密码：<input type="password" name="pwd2" placeholder="确认密码" required></p>
        <p><input type="submit" value="提交"></p>
        <a href="/stu_info">返回</a>
        <p style="font-size: 20px; color: red; padding-left: 60px">
        {% if err %}
            {{ err }}
        {% endif %}
        </p>
    </div>
    </form>

</body>
</html>